package com.neusoft.ysu.npms.mapper;

import com.neusoft.ysu.npms.pojo.ApprovalInfo;
import com.neusoft.ysu.npms.pojo.Department;
import com.neusoft.ysu.npms.pojo.Risk;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
@Mapper
public interface RiskMapper extends BaseMapper<Risk> {
    Integer add(Risk type);
    Integer deleteRisk(Risk risk);
    Integer updateRisk(Risk risk);
    List<Risk> selectAll();
    Risk findById(Risk risk);
    Integer logout2(ApprovalInfo approvalInfo);

}
